package 蓝桥杯十二;

public class Note {
		public static void main(String args[]) {
			System.out.println((int)'L');
//			System.out.println(questionB());
			System.out.println((Integer.MAX_VALUE + " ").length());
			System.out.println((Long.MAX_VALUE + "").length());
			System.out.println(questionD());
			System.out.println(Math.sqrt(2021041820210418L));
			
		}
		
		/**B
		 * ans = 3181
		 * @return
		 */
		public static int questionB() {
			int idx =  0;
			int record [] = {2021,2021,2021,2021,2021,2021,2021,2021,2021,2021};
			for(idx = 1;;idx++) {
				if(help(idx,record)) {
					break;
				}
			}
			
			return idx;
		}
		public static boolean help(int value,int []arr) {
//			int tmep  = 0
			boolean flag = false;
			while(value != 0) {
//				arr[value %10]--;
				if(-- arr[value % 10] == 0) {
					flag = true;
				}
				value = value/10;
			}
			return flag;
		}
		/**
		 * D
		 */
		public static long questionD() {
			long ans = 0;
			long value = 2021041820210418L;
			long temp1 = 0L;
			long temp2 = 0L;
			for(long i = 1; i <=value;i++ ) {
				temp1 =  value/i;
				for(long j = 1; j<=temp1;j++) {
					temp2 = temp1/j;
					for(long k = 1;k <= temp2;k++) {
						if(i * j * k == value) {
							ans++;
						}
					}
				}
			}
			return ans;
		}
		
}
